package com.xin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xin.entity.crm.PermissionEntity;
import com.xin.entity.crm.RoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<RoleEntity> {
    /**
     * 查询用户所拥有的权限信息
     * @param employId
     * @return
     */
    List<String > findEmployeeHasPermission(@Param("employId") Long employId);
}
